var shopApp = angular.module('shopApp',[
	'ngRoute',
	'shopAppController'
]);

shopApp.config(['$routeProvider', function($routeProvider){
	$routeProvider.when('/detail/:id', {
		templateUrl:'http://huflit.local/product/ngView',
		controller: 'shopDetailController'
	});
	
}]);